package cn.edu.scau.cmi.longyuanjun.domain;

import java.io.Serializable;

public class Student implements Serializable{
	
	private long id;
	private String name;
	private Teacher teacher;
	
	public void setId(long id) {
		this.id = id;
	}
	
	public long getId() {
		return this.id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}
	
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
	public Teacher getTeacher() {
		return this.teacher;
	}

}
